package com.jnevision.salary.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 薪资信息
 * </p>
 *
 * @author gavin
 * @since 2019-07-13
 */
@TableName("b_salary")
public class Salary extends Model<Salary> {
    private static final long serialVersionUID = -2750636614470139941L;

    @TableField("user_id")
    private String userId;

    /**
     * 岗位工资
     */
    @TableField("gangwei")
    private String gangwei;

    /**
     * 保障工资
     */
    @TableField("baozhang")
    private String baozhang;

    /**
     * 工龄工资
     */
    @TableField("gongling")
    private String gongling;

    /**
     * 五险缴费基数
     */
    @TableField("wxjishu")
    private String wxjishu;

    /**
     * 养老保险
     */
    @TableField("yanglao")
    private String yanglao;

    /**
     * 医疗保险
     */
    @TableField("yiliao")
    private String yiliao;

    /**
     * 失业保险
     */
    @TableField("shiye")
    private String shiye;

    /**
     * 加班费，或者叫基础费，请假扣钱的标准
     */
    @TableField("jiabanfei")
    private String jiabanfei;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private Integer deptId;
    @TableField(exist = false)
    private Boolean insurance;
    
    @TableField(exist = false)
    private String shengyu;

    @TableField(exist = false)
    private String gongshang;
    
    
    

    public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getShengyu() {
		return shengyu;
	}

	public void setShengyu(String shengyu) {
		this.shengyu = shengyu;
	}

	public String getGongshang() {
		return gongshang;
	}

	public void setGongshang(String gongshang) {
		this.gongshang = gongshang;
	}

	public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Boolean isInsurance() {
        return this.insurance;
    }

    public void setInsurance(Boolean insurance) {
        this.insurance = insurance;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGangwei() {
        return gangwei;
    }

    public void setGangwei(String gangwei) {
        this.gangwei = gangwei;
    }

    public String getBaozhang() {
        return baozhang;
    }

    public void setBaozhang(String baozhang) {
        this.baozhang = baozhang;
    }

    public String getGongling() {
        return gongling;
    }

    public void setGongling(String gongling) {
        this.gongling = gongling;
    }

    public String getWxjishu() {
        return wxjishu;
    }

    public void setWxjishu(String wxjishu) {
        this.wxjishu = wxjishu;
    }

    public String getYanglao() {
        return yanglao;
    }

    public void setYanglao(String yanglao) {
        this.yanglao = yanglao;
    }

    public String getYiliao() {
        return yiliao;
    }

    public void setYiliao(String yiliao) {
        this.yiliao = yiliao;
    }

    public String getShiye() {
        return shiye;
    }

    public void setShiye(String shiye) {
        this.shiye = shiye;
    }

    public String getJiabanfei() {
        return jiabanfei;
    }

    public void setJiabanfei(String jiabanfei) {
        this.jiabanfei = jiabanfei;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Salary{" + "userId=" + userId + ", gangwei=" + gangwei + ", baozhang=" + baozhang + ", gongling="
            + gongling + ", wxjishu=" + wxjishu + ", yanglao=" + yanglao + ", yiliao=" + yiliao + ", shiye=" + shiye
            + ", jiabanfei=" + jiabanfei + "}";
    }
}